package feng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author fengzongpeng
 * @since 2023-07-31
 */
@Getter
@Setter
@TableName("scores")
@ApiModel(value = "Scores对象", description = "")
public class Scores implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("分数")
    @TableField("Score")
    private Float score;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Integer userId;


}
